package com.cts.learninglibrary.exception;

import lombok.Getter;

/**
 * @author arctique
 * @date 2020/8/24 9:44
 */
@Getter
public class LoginErrorException extends RuntimeException {

    private int code;
    private String msg;

    public LoginErrorException(String msg) {
        super(msg);
    }

    public LoginErrorException(int cond, String msg) {
        this.code = cond;
        this.msg = msg;
    }
}
